import React, { Component } from 'react'
import '../css/home.css'
function Detil(props) {
    
    console.log(props);
    const { name } = props.location.state
    console.log(name);
    return (
        <div>
            <div className="ges" style={{margin:'15px'}}>
                <span>歌曲:</span>
                <span>{name.name}</span>
            </div>
            <img src={name.img} className="llll"/>
            <audio src="/video/丫蛋蛋(马启涵) - 不染.mp3"  loop="loop" controls></audio>
        </div>
    )

}
export default Detil
